(function($) {

   $.cleditor.buttons.page_break = {
    name: "page_break",
    image: '',
	css: {
		background: 'url(/images/file-types/page_break.png)',
		backgroundPosition: 'center center',
		backgroundRepeat: 'no-repeat'
	},
	title: "Вставить разрыв страницы и ссылку \"Дальше\"",
    command: "inserthtml",
    buttonClick: page_breakClick
  };
      
 
  $.cleditor.defaultOptions.controls = $.cleditor.defaultOptions.controls
    .replace("video", "video page_break");
      
 
  function page_breakClick(e, data) {
      
    // Get the editor
	var editor = data.editor;
	
	var html = '$stop$';
	editor.execCommand(data.command, html, null, data.button);
	editor.focus();
  }  
})(jQuery);